import axios from '../utils/http'
export const getLoginCode = (code) => {
  return axios.get(`/weixin/wxLogin/${code}`)
}
export const UploadFile = (filePath,name) => {
  return axios.upLoad('/fileUpload',filePath,name)
}
export const getUserInfo = () => {
  return axios.get('/weixin/getuserInfo')
}
export const updateUserInfo = (data) => {
  return axios.post('/weixin/updateUser',data)
}